package top.timestreet.xmsk.w23txt.controller;

/**
 * @author TateLiao
 * @data 2019年6月2日
 */
/*
 * @RestController
 * 
 * @RequestMapping("/23txt") public class W23txtController {
 * 
 * @Autowired private W23txtSearchPageBoot w23txtSearchPageBoot;
 * 
 * @Autowired private W23txtListPageBoot w23txtListPageBoot;
 * 
 * @GetMapping("/search/{name}") public List<SearchPage>
 * getSearch(@PathVariable("name") String name) { ResultItemsCollectorPipeline
 * rc = new ResultItemsCollectorPipeline(); return
 * w23txtSearchPageBoot.startCrawt(rc, name); }
 * 
 *//**
	 * 获取小说所有章节
	 * 
	 * @param url 天籁小说章节URL
	 * @return
	 *//*
		 * @GetMapping("/chapter/{url}") public List<ListPage>
		 * getChapters(@PathVariable("url") String url) { ResultItemsCollectorPipeline
		 * rc = new ResultItemsCollectorPipeline(); // TODO 为了测试方便，先写死url，正常应该从前台传过来
		 * return w23txtListPageBoot.startCrawt(rc,
		 * "https://www.23txt.com/files/article/html/44/44114/"); }
		 * 
		 * }
		 */
